package com.material.buy.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.material.common.annotation.Excel;
import com.material.common.core.domain.BaseEntity;

/**
 * vip充值套餐对象 vip_package
 * 
 * @author ruoyi
 * @date 2025-05-07
 */
public class VipPackage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 金额 */
    @Excel(name = "金额")
    private BigDecimal price;

    /** 有效时长 */
    @Excel(name = "有效时长")
    private Long effectiveDuration;

    /** 删除标志：0.删除，1.正常 */
    @Excel(name = "删除标志：0.删除，1.正常")
    private Integer deleteFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setEffectiveDuration(Long effectiveDuration) 
    {
        this.effectiveDuration = effectiveDuration;
    }

    public Long getEffectiveDuration() 
    {
        return effectiveDuration;
    }
    public void setDeleteFlag(Integer deleteFlag) 
    {
        this.deleteFlag = deleteFlag;
    }

    public Integer getDeleteFlag() 
    {
        return deleteFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("price", getPrice())
            .append("effectiveDuration", getEffectiveDuration())
            .append("remark", getRemark())
            .append("deleteFlag", getDeleteFlag())
            .append("createTime", getCreateTime())
            .toString();
    }
}
